home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
050a
/
snr53b.zip
/
QUIKREF.DOC
< prev
next >
Wrap
Text File
|
1993-05-30
|
4KB
|
109 lines
SNR VERSION 5.03
QUICK REFERENCE SHEET
USAGE:
C:>snr [@]filespec ext table [table2...table20] [/d] [/od:pathname]
The data file name can include a drive and path specification. Wild
cards (* and ?) are allowed in the file name.
Up to 20 tables can be specified at once.
/d = delete old file, save new file under old name
/od:pathname = redirect output file to new drive/path
/v = display equation generation before converting
EQUATIONS:
2,500 equations maximum
Each up to 4,999 characters long
Maximum table size 64,000 characters
Reserved characters:
* asterisk (used for flags) substitute: \2A
\ backslash (used for hex values) substitute: \5C
= equals (used for separating) substitute: \3D
Special codes:
\ (followed by one or more spaces) is a comment line
\+ will continue an equation on the next line
\\E signifies end of conversion table
Optional set-up codes:
\\L7 optional character mask level (strips high bit)
\\Qxx optional End-of-job character definition (hex value)
\\Axx optional alignment pad character definition (hex value)
CONDITION FLAGS:
*00 through *f0 will test or set flags OFF
*01 through *f1 will test or set flags ON
SPECIALTY FLAGS:
*ig Begin global ignore
*ix Cancel global ignore
*ic Ignore consecutive characters
*(nn)c Repeat character c nn times (nn = from 1 to 4999)
WILD CARDS:
Usage: Description:
\^ variable-length precedent
\p any character
\n numeric (0-9)
\x full alphabetic (A-Z, a-z)
\u upper case alphabetic (A-Z)
\y lower case alphabetic (a-z)
\m alphanumeric (A-Z, a-z, 0-9)
\t punctuation
\g non-whitespace
\o whitespace (space, tab, return, line feed, vertical tab, form feed)
\z ASCII-only (c < ASCII 128)
\v printable (c > ASCII 31)
\k non-printable (c < ASCII 32)
Wild cards \p, \u, and \y can appear on the replacement side of an equation
and must then be followed by a number from 0-4999 which specifies which
character position to replace (\u and \y also change shift case of the
output characters).
SPECIALTY CONVERSION CHARACTERS:
\s Start-of-job
\q End-of-job
VARIABLE-LENGTH SEARCH-AND-REPLACE:
To search:
Example string: \^*(10)\n \ "up to" "10" "numeric characters"
A full equation can contain up to 40 variable-length strings.
A search equation cannot begin with a \^ .
A search equation must terminate with a fixed code or string.
To replace: \^1 will output the 1st variable-length string in the equation
\^:1 will output the fixed terminator for the 1st
variable-length string in the equation
\^40 will output the 40th v-l string
\^:40 will output the fixed terminator for the 40th v-l string
\^L1 will output the 1st variable-length string in the equation
and left-align it by padding out to the maximum search
width
\^R40 will output the 40th v-l string and right-align it by
padding to the maximum search width
example:
"\^*(20)\v","\^*(25)\v","\^*(18)\v"\0d\0a=\^L1\^R2\^3\0d\0a
This equation will read 3 comma-quote-delimited fields and pad the
1st field to 20 characters left-aligned, pad the 2nd field to 25
characters right-aligned, and output the 3rd field of up to 18
characters with no padding.